package com.joven.interface4.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author: wzj
 * @Date: 2024/2/18 9:25
 */
@Data
@Component
@ConfigurationProperties(prefix = "wang")
public class NacosConfig {

    private String name;
    private String serverAddr;
}
